package com.pf.log.annotation;

import java.lang.annotation.*;

/**
 * 日志日期格式转换
 *
 * @author PanFei
 * @version 1.0.0
 * @createTime 2022/8/31 22:24
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.ANNOTATION_TYPE})
public @interface LogDateTimeFormat {

    /**
     * 日期格式化
     *
     * @return
     */
    String pattern() default "yyyy-MM-dd";
}
